<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Abstract_backend_controller</title>
			<link rel="stylesheet" href="../../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Abstract_backend_controller</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-descendents">Descendents</a>
			|											<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Base controller class for all backend controllers.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Michal Palenik, Andrej Jursa</li>
				<li><span class="field">version:</span> 1.0</li>
				<li><span class="field">copyright:</span> FMFI Comenius University in Bratislava 2012</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_core---abstract_backend_controller.php.html">/core/abstract_backend_controller.php</a> (line <span class="field"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a15">15</a></span>)
		</p>
		
				
		<pre>CI_Controller
   |
   --<a href="../../Abstract/Core/MY_Controller.html">MY_Controller</a>
      |
      --<a href="../../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a>
         |
         --Abstract_backend_controller</pre>
	
			</div>
</div>

	<a name="sec-descendents"></a>
	<div class="info-box">
		<div class="info-box-title">Direct descendents</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Descendents</span>
			|												<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
								|															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin.html">Admin</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin_account.html">Admin_account</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin_backup.html">Admin_backup</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin_config.html">Admin_config</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin_editor.html">Admin_editor</a></td>
					<td>
											
										</td>
				</tr>
								<tr>
					<td style="padding-right: 2em"><a href="../../AppControllers/Admin_logs.html">Admin_logs</a></td>
					<td>
											
										</td>
				</tr>
							</table>
		</div>
	</div>


	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																								<div class="var-title">
					<span class="var-type">array<string></span>
					<a href="#$login_dontvalidate" title="details" class="var-name">$login_dontvalidate</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																												
												<div class="method-definition">
											<span class="method-result">Abstract_backend_controller</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_adminMenu" title="details" class="method-name">_adminMenu</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_doNotValidateLoginAtAction" title="details" class="method-name">_doNotValidateLoginAtAction</a>
											(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#_validateLogin" title="details" class="method-name">_validateLogin</a>
										()
									</div>
																<div class="method-definition">
											<span class="method-result">boolean</span>
										<a href="#_validateLoginCheck" title="details" class="method-name">_validateLoginCheck</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$login_dontvalidate" id="$login_dontvalidate"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array<string></span>
			<span class="var-name">$login_dontvalidate</span>
			 = <span class="var-default">array()</span>			(line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a20">20</a></span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
	<ul class="tags">
				<li><span class="field">var:</span> names of actions, which are not be checked for valid admin login.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	
		
		

</div>
							<h4>Inherited Variables</h4>
				<A NAME='inherited_vars'><!-- --></A>
									<p>Inherited from <span class="classname"><a href="../../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a></span></p>
					<blockquote>
													<span class="var-title">
								<span class="var-name"><a href="../../Abstract/Core/Abstract_common_controller.html#var$template_css_files">Abstract_common_controller::$template_css_files</a></span><br>
							</span>
													<span class="var-title">
								<span class="var-name"><a href="../../Abstract/Core/Abstract_common_controller.html#var$template_js_files">Abstract_common_controller::$template_js_files</a></span><br>
							</span>
											</blockquote> 
										
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-descendents">Descendents</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a25">25</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Main constructor, executes login  check.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">Abstract_backend_controller</span>
		<span class="method-name">
			__construct
		</span>
				()
			</div>
	
		
			<hr class="separator" />
		<div class="notes">Redefinition of:</div>
		<dl>
			<dt><a href="../../Abstract/Core/Abstract_common_controller.html#method__construct">Abstract_common_controller::__construct()</a></dt>
						<dd>Main constructor of common controller with initialisations.</dd>
					</dl>
			
			<hr class="separator" />
		<div class="notes">Redefined in descendants as:</div>
		<ul class="redefinitions">
					<li>
				<a href="../../AppControllers/Admin.html#method__construct">Admin::__construct()</a>
							</li>
					<li>
				<a href="../../AppControllers/Admin_backup.html#method__construct">Admin_backup::__construct()</a>
							</li>
					<li>
				<a href="../../AppControllers/Admin_config.html#method__construct">Admin_config::__construct()</a>
							</li>
					<li>
				<a href="../../AppControllers/Admin_editor.html#method__construct">Admin_editor::__construct()</a>
							</li>
				</ul>
	</div>
<a name="method_adminMenu" id="_adminMenu"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_adminMenu</span> (line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a37">37</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Fetch admin menu from config file and assign them to template.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_adminMenu
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_doNotValidateLoginAtAction" id="_doNotValidateLoginAtAction"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_doNotValidateLoginAtAction</span> (line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a54">54</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Add controller action to the list of actions, which are not checked for valid login.</p>
	<ul class="tags">
				<li><span class="field">access:</span> protected</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_doNotValidateLoginAtAction
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$action</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$action</span><span class="var-description">: name of action.</span>			</li>
				</ul>
		
			
	</div>
<a name="method_validateLogin" id="_validateLogin"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">_validateLogin</span> (line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a75">75</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Validates login, if is not valid, redirects request to the login form.</p>
	<ul class="tags">
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			_validateLogin
		</span>
				()
			</div>
	
		
			
	</div>
<a name="method_validateLoginCheck" id="_validateLoginCheck"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">_validateLoginCheck</span> (line <span class="line-number"><a href="../../__filesource/fsource_Abstract_Core_coreabstract_backend_controller.php.html#a65">65</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Verify if current action can be checked for valid login.</p>
	<ul class="tags">
				<li><span class="field">return:</span> if it's TRUE, login check can be verified.</li>
				<li><span class="field">access:</span> private</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">boolean</span>
		<span class="method-name">
			_validateLoginCheck
		</span>
				()
			</div>
	
		
			
	</div>
							<h4>Inherited Methods</h4>
				<a name='inherited_methods'><!-- --></a>	
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Abstract/Core/Abstract_common_controller.html">Abstract_common_controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method__construct">Abstract_common_controller::__construct()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#methodgetBaseUrl">Abstract_common_controller::getBaseUrl()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#methodgetConfigItem">Abstract_common_controller::getConfigItem()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_addTemplateCss">Abstract_common_controller::_addTemplateCss()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_addTemplateDynamicJs">Abstract_common_controller::_addTemplateDynamicJs()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_addTemplateJs">Abstract_common_controller::_addTemplateJs()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_assignTemplateAdditionals">Abstract_common_controller::_assignTemplateAdditionals()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_resetTemplateCss">Abstract_common_controller::_resetTemplateCss()</a></span><br>
													<span class="method-name"><a href="../../Abstract/Core/Abstract_common_controller.html#method_resetTemplateJs">Abstract_common_controller::_resetTemplateJs()</a></span><br>
											</blockquote>
									<!-- =========== Summary =========== -->
					<p>Inherited From <span class="classname"><a href="../../Abstract/Core/MY_Controller.html">MY_Controller</a></span></p>
					<blockquote>
													<span class="method-name"><a href="../../Abstract/Core/MY_Controller.html#method__construct">MY_Controller::__construct()</a></span><br>
											</blockquote>
										
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Tue, 15 Jan 2013 16:53:55 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.4</a>
	</p>
	</div></body>
</html>